<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商品信息</title>
<body class="withvernav">
<div class="bodywrapper">
	{{include file='/public/leftmenu.tpl'}}
	<div class="centercontent tables">
		<div class="pageheader notab">
			<h1 class="pagetitle">
				{{if $types == 4}}
					停产商品信息
				{{/if}}
				{{if $types == 7}}
					下架商品信息
				{{/if}}
				{{if $types == 5}}
					清仓商品信息
				{{/if}}
				{{if $types == 2}}
					重新销售商品信息
				{{/if}}
                {{if $types == 9}}
					商品修改成本价
				{{/if}}
               
			</h1>
			<span class="pagedesc"></span>
		</div>
		<!--pageheader-->
		<div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
		<div id="contentwrapper" class="contentwrapper">
			<!--搜索栏-->
			<form class="stdform stdform2" method="get" action="/welcome/ajaxbutton">
				<div class="tableoptions">
					<input type="hidden" name="op" value="showMoreGoods"/>
					<input type="hidden" name="types" value="{{$types}}" />
					商品编号: <input type="text" name="other" id="other" class="width200" placeholder="请输入商品编号" value="{{$other}}" />
                    供货商: <select name="supplier" id="supplier" class="selection" >
                    <option value="">请选择</option>
                    {{foreach from=$factory item=res key=key}}
                    <option value="{{$res.id}}" {{if $res.id == $supplier}} selected{{/if}}>{{$res.name}}</option>
                    {{/foreach}}
                  
                  </select>   
                    提醒时间:<input type="text"  name="times" value="{{$times}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />
					&nbsp;&nbsp;
					<button class="btn btn_orange btn_search radius50">Search</button>
				</div>
			</form>
			<!--搜索栏结束-->
			<table cellpadding="0" cellspacing="0" border="0" class="stdtable">
				<thead>
				<tr>
					<th class="head0">商品编号</th>
					<th class="head0">商品图片</th>
					<th class="head1">商品名称</th>
					<th class="head1">更新时间</th>
                    <th class="head1">提醒时间</th>
				</tr>
				</thead>
				<tbody>
				{{foreach from=$goodslist item=li key=key}}
				<tr>
					<td><a href = "/product/productlist?ty=1&other={{$li.number_sn}}" target="_blank">{{$li.number_sn}}</a></td>
					<td><img src="{{$li.thumb_url}}" alt="" width="60" height="60"></td>
					<td>{{$li.number_name}}</td>
					<td>{{$li.opertime}}</td>
                    <td>{{$li.instime}}</td>
				</tr>
				{{/foreach}}
				</tbody>
			</table>
			<div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
			<br />
			<br />
		</div>
	</div>
	<!--bodywrapper-->
</body>
</html>